package edu.xhu.check.controller;

import edu.xhu.check.service.CheckService;
import edu.xhu.model.common.dtos.ResponseResult;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
@RequestMapping("/check")
public class CheckController {

    private final CheckService checkService;

    @GetMapping("/test")
    public ResponseResult<?> checkVideoTest(@RequestParam("content") String content) {
        return checkService.checkVideoTest(content);
    }


}
